f = loadstring("local a = 10; return a + 20")
print( f() )

local path = "C:\\Program Files (x86)\\Lua\\5.1\\clibs\\lxp.dll"
local f = assert(package.loadlib(path, "liblxp"),"error liblxp")
print(f)